<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%  
	String path = request.getContextPath();  
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";  
%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

<link rel="stylesheet" type="text/css" href="/bsc/static/common/bootstrap/js/bootstrap-3.3.7-dist/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="/bsc/static/common/bootstrap/js/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
<script src="/bsc/static/js/jquery-3.1.1.js"></script>
<script src="/bsc/static/common/bootstrap/js/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>


</head>
<body>
		<form action="<%=basePath%>addinsert" method="post">
			<table class="table table-bordered">
				<tr align="center">
					<td>选择</td>
					<td>项目编号</td>
					<td>项目名称</td>
					<td>分类</td>
					<td>服务时长（分钟）</td>
					<td>人民币售价（元）</td>
					<td>颜值售价（个）</td>
					<td>标准手工费（元）</td>
					<td>活动手工费（元）</td>
					<td>更新时间</td>
					<td>排序号</td>
					
				</tr>
				<c:forEach items="${hulilist }" var="h">
					<tr>
						<td width="4%" height="26" align="center"> 
							<input type="checkbox" name="checkbox" value=${h.project_id } /> 
						</td> 
						<td>${h.project_id }</td>
						<td>${h.project_name }</td>
						<td>${h.type_name }</td>
						<td>${h.server_time }</td>
						<td>${h.rmb_price }</td>
						<td>${h.beauty_price }</td>
						<td>${h.manual_price }</td>
						<td>${h.active_price }</td>
						<td>${h.create_time }</td>
						<td>${h.sort_no }</td>
					</tr>
				</c:forEach>
					<tr align="center">
						<td colspan="11">
							<input type="submit" value="提交" /> 
			   
							<input type="button" value="关闭" onclick="custom_close()"/>
						</td>
					</tr>
			</table>
		</form>
</body>
</html>
<script type="text/javascript">


	function custom_close(){
	    if(confirm("您确定要关闭本页吗？")){
	        window.opener=null;
	        window.location.href = "<%=basePath%>addinsert";
	        window.close();
	    }
	    else{
	    
	    }
	}

</script>